package cc.yugu.yhdw.webserver.persistence.hdw;

import cc.yugu.yhdw.common.domain.hdw.AgentHdwSetting;
import cc.yugu.yhdw.common.persistence.MasterMapper;

import java.util.List;
/**
 * 运营商设置
 *
 * @Date:Created in 2018/6/29 17:59
 * @Author:
 * @Modified By: zjn 2018/6/29 17:59
 */
public interface AgentHdwSettingMapper extends MasterMapper {
    /**
    * 按条件根据主键id查询表 hdw_agent_hdw_setting ，并返回行数
    *
    * @Param: [agentHdwSetting]
    * @Return: int
    * @Author By: zjn 2018/6/29  17:59
    */
    public int findPageCount(AgentHdwSetting agentHdwSetting);
    /**
    * 分页查询 ，根据主键查询
    *
    * @Param: [agentHdwSetting]
    * @Return: java.util.List<cc.yugu.yhdw.common.domain.hdw.AgentHdwSetting>
    * @Author By: zjn 2018/6/29  18:00
    */
    public List<AgentHdwSetting> findPageResult(AgentHdwSetting agentHdwSetting);
    /**
    * 根据主键id查询
    *
    * @Param: [id]
    * @Return: cc.yugu.yhdw.common.domain.hdw.AgentHdwSetting
    * @Author By: zjn 2018/6/29  18:00
    */
    public AgentHdwSetting find(int id);
    /**
    * 插入数据
    *
    * @Param: [entity]
    * @Return: int
    * @Author By: zjn 2018/6/29  18:00
    */
    public int insert(AgentHdwSetting entity);
    /**
    * 根据主键id更新
    *
    * @Param: [entity]
    * @Return: int
    * @Author By: zjn 2018/6/29  18:00
    */
    public int update(AgentHdwSetting entity);
    /**
    * 根据主键删除
    *
    * @Param: [id]
    * @Return: int
    * @Author By: zjn 2018/6/29  18:00
    */
    public int delete(int id);
}
